package com.lwl.multisource.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lwl.multisource.domain.SysUser;
import com.lwl.multisource.mapper.SysUserMapper;

@Controller
@RequestMapping("user")
public class UserController {

	@Autowired
	private SysUserMapper sysUserMapper;
	
	@RequestMapping("list")
	@ResponseBody
	public List<SysUser> userlist() {
		return sysUserMapper.selectByExample(null);
	}
	
}
